﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CIIS.Common
{
    public class StringUtils
    {
        public static readonly StringUtils Instance = new StringUtils();
        StringUtils() { }

        public string GetStringFromObj(object obj, string valueIfNull)
        {
            if (obj != null)
            {
                return obj.ToString();
            }

            return valueIfNull;
        }
    }
}
